using System;

namespace DesignPrinciples.SRPSolution
{
    public class WeatherDisplaySRP
    {
        private readonly DisplayTemperature _DisplayTemperature;
        private readonly DisplayWindSpeed _DisplayWindSpeed;

        public WeatherDisplaySRP(DisplayTemperature DisplayTemperature, DisplayWindSpeed DisplayWindSpeed)
        {
            _DisplayTemperature = DisplayTemperature;
            _DisplayWindSpeed = DisplayWindSpeed;
        }

        public void DisplayWeather()
        {
            Console.WriteLine(_DisplayTemperature.Temperature());
            Console.WriteLine(_DisplayWindSpeed.WindSpeed());
        }

    }
}
